package cn.tedu.spring.eg2;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.util.Map;

/**
 * @author lhd
 * @date 2024/4/16
 * @apiNote
 */
public class TestCommentMapper {
    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext("cn.tedu.spring.eg2");
        CommentMapper commentMapper = context.getBean(CommentMapper.class);
        System.out.println("CommentMapper = " + commentMapper);
    }
}
